import request from '@/utils/request.js'

// 获取文章的列表数据
// export const getArticleListAPI = function(_page, _limit) {
//   return request.get('http://127.0.0.1/api', {
//     params: {
//       _page,
//       _limit
//     }
//   })
// }
export const getReguserAPI = function(username, password) {
  return request.post('/reguser', {
    data: {
      username,
      password
    }
  })
}
